package com.itheima.demo6;

public class ThreadDemo4 {
    public static void main(String[] args) {
        //直接创建MyThread对象
        MyThread1 t1 = new MyThread1("第一窗口");
        MyThread1 t2 = new MyThread1("第二窗口");
        MyThread1 t3 = new MyThread1("第三窗口");

        t1.start();
        t2.start();
        t3.start();

    }
}
